Function Template
Function Name: [functionName]
Trigger: [ HTTPS (onCall / onRequest) / Firestore (onCreate / onUpdate) / Auth (onCreate) ]
Purpose: [Describe in one sentence what this function does.]
Detailed Functionality
[Describe step by step what this Firebase Function does, including all the operations it performs, any external API calls, database interactions, error handling, and configuration details. Explain the complete workflow from start to finish.]
Input (Payload):
{
"parameter": "value"
}
Output (Success):
{
"result": "value"
}
Testing
URL (if HTTPS): https://...
Test with Emulator: [Describe the steps to test it locally.]
Postman Testing: [Include Postman collection details or testing instructions.]
Deploy Command:
firebase deploy --only functions:[functionName]
Production URL:
Live Function: https://europe-central2-arshades-7e18a.cloudfunctions.net/[functionName]